package cn.com.utt.unms.pojo;

/**
 * 配置模板的射频
 */
public class Rf extends RfCommon {
	private long id;
	private long userId;
	private String name;// 模板名称

	public Rf() {
		super();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public boolean equals(Object o) {
		Rf con = (Rf) o;
		return name.equals(con.name) && id == con.id;
	}

	public long hashcode() {
		long hash = 2;
		hash = 31 * hash + id;
		hash = 31 * hash + (null == name ? 0 : name.hashCode());
		return hash;
	}

}
